import { request } from '@/utils/request'

export const apiBanner = {
    getList(params: any) {
        return request('/banners', params, 'GET')
    },
    create(params: any) {
        return request('/banners', params, 'POST')
    },
    update(params: any) {
        return request('/banners', params, 'PUT')
    },
    delete(params: any) {
        return request('/banners', params, 'DELETE')
    }
}
